local extension = Package:new("xiaobai-fourteen")
extension.extensionName = "xiaobai"

local XBB = require "packages.xiaobai.util"
XBB.loadSkillSkelsByName(extension, "xiaobai_fourteen")

Fk:loadTranslationTable {
  ["xiaobai-fourteen"] = "十四届小白杯",
}

--（王）弼、马（隆）、（桓）温
local wangbimawen = XBB.newGeneral(extension, "xiaobai__wangbimawen", "wei", 3)
wangbimawen:addSkills { "xiaobai__guajie", "xiaobai__yaozheng" }
wangbimawen:addRelatedSkills { "xiaobai__piyi1" }
Fk:loadTranslationTable {
  ["xiaobai__wangbimawen"] = "王弼",
  ["#xiaobai__wangbimawen"] = "天人之间",
  ["designer:xiaobai__wangbimawen"] = "复仇滚木",
  ["cv:xiaobai__wangbimawen"] = "爬不上树的猴子",
  ["illustrator:xiaobai__wangbimawen"] = "Woww",

  ["~xiaobai__wangbimawen"] = "吾识天命，故知亡此多事之秋···"
}

local weiji = XBB.newGeneral(extension, "xiaobai__weiji", "wei", 3)
weiji:addSkills {"xiaobai__dianyi", "xiaobai__yishi"}
weiji:addRelatedSkills {"xiaobai__gengji"}
Fk:loadTranslationTable{
  ["xiaobai__weiji"] = "卫觊",
  ["#xiaobai__weiji"] = "相王之式",
  ["illustrator:xiaobai__weiji"] = "rtss",
  ["designer:xiaobai__weiji"] = "一只白板",
}

local youchu = XBB.newGeneral(extension, "xiaobai__youchu", "wei", 3)
youchu:addSkills {"xiaobai__chengmo", "xiaobai__jingyi"}
Fk:loadTranslationTable{
  ["xiaobai__youchu"] = "游楚",
  ["#xiaobai__youchu"] = "风起陇西",
  ["illustrator:xiaobai__youchu"] = "白日梦花",
  ["designer:xiaobai__youchu"] = "WWow",
}

XBB.newGeneral(extension, "xiaobai__fanjian", "shu", 3)
  :addSkills {"xiaobai__qingjie","xiaobai__weishi"}
Fk:loadTranslationTable{
  ["xiaobai__fanjian"] = "樊建",
  ["#xiaobai__fanjian"] = "烬鼎铭鉴",
  ["illustrator:xiaobai__fanjian"] = "利比亚特工",
  ["designer:xiaobai__fanjian"] = "铝"
}

local hezhi = XBB.newGeneral(extension, "xiaobai__hezhi", "shu", 3)
hezhi:addSkills {"xiaobai__shendian", "xiaobai__ziyi"}
Fk:loadTranslationTable{
  ["xiaobai__hezhi"] = "何祗",
  ["#xiaobai__hezhi"] = "梦桑量海",
  ["illustrator:xiaobai__hezhi"] = "GWGYH",
  ["designer:xiaobai__hezhi"] = "屑"
}

local luji = XBB.newGeneral(extension, "xiaobai__lujix", "wu", 3)
luji:addSkills {"xiaobai__kanwu", "xiaobai__zhuanshu"}
Fk:loadTranslationTable{
  ["xiaobai__lujix"] = "陆玑",
  ["#xiaobai__lujix"] = "诗圃诠生",
  ["designer:xiaobai__lujix"] = "劉星壹閃",
  ["illustrator:xiaobai__lujix"] = "砖",
}

XBB.newGeneral(extension, "xiaobai__lvyi", "wu", 3)
  :addSkills {"xiaobai__jixun", "xiaobai__danggou"}
Fk:loadTranslationTable{
  ["xiaobai__lvyi"] = "吕壹",
  ["#xiaobai__lvyi"] = "桀犬吠尧",
  ["illustrator:xiaobai__lvyi"] = "nihilum",
  ["designer:xiaobai__lvyi"] = "劉星壹閃"
}

local doumiao = XBB.newGeneral(extension, "xiaobai__doumiao", "qun", 3)
doumiao:addSkills {"xiaobai__weijiu", "xiaobai__duobi"}
doumiao:addRelatedSkills {"xiaobai__zhangchong"}
Fk:loadTranslationTable{
  ["xiaobai__doumiao"] = "窦妙",
  ["#xiaobai__doumiao"] = "恚凤悬庭",
  ["illustrator:xiaobai__doumiao"] = "白旭东",
  ["designer:xiaobai__doumiao"] = "小叶子",
}

XBB.newGeneral(extension, "xiaobai__hexiu", "qun", 3, 3, General.Male)
  :addSkills {"xiaobai__gushou","xiaobai__xuanbian"}
Fk:loadTranslationTable{
  ["xiaobai__hexiu"] = "何休",
  ["#xiaobai__hexiu"] = "持世陈论",
  ["designer:xiaobai__hexiu"] = "超绝天",
  ["illustrator:xiaobai__hexiu"] = "葛鸽",
}

XBB.newGeneral(extension, "xiaobai__huangfugui", "qun", 4)
  :addSkills {"xiaobai__zhanwei", "xiaobai__shubian"}
Fk:loadTranslationTable{
  ["xiaobai__huangfugui"] = "皇甫规",
  ["#xiaobai__huangfugui"] = "雪钺鉴清",
  ["illustrator:xiaobai__huangfugui"] = "邦邦",
  ["designer:xiaobai__huangfugui"] = "左小白",
}

local xiaobai__xuanyu_treasure = fk.CreateCard{
  name = "&xiaobai__xuanyu_treasure",
  type = Card.TypeEquip,
  sub_type = Card.SubtypeTreasure
}

extension:loadCardSkels{xiaobai__xuanyu_treasure}
extension:addCardSpec("xiaobai__xuanyu_treasure")

XBB.newGeneral(extension, "xiaobai__yangxu", "qun", 3)
  :addSkills {"xiaobai__guanli", "xiaobai__xuanyu"}
Fk:loadTranslationTable{
  ["xiaobai__yangxu"] = "羊续",
  ["#xiaobai__yangxu"] = "鱼心可呈",
  ["illustrator:xiaobai__yangxu"] = "GWGYH",
  ["designer:xiaobai__yangxu"] = "胖即是胖",
  ["xiaobai__xuanyu_treasure"] = "悬鱼"
}

local zhangjian = XBB.newGeneral(extension, "xiaobai__zhangjian", "qun", 4)
zhangjian:addSkills{"xiaobai__changhe", "xiaobai__jiudian", "xiaobai__shilang"}
zhangjian.endnote = "<br><font color='grey' size = 2>“这是三国时期有记载的终极耄耋。”                ——白小贝"
Fk:loadTranslationTable{
  ["xiaobai__zhangjian"] = "张臶",
  ["#xiaobai__zhangjian"] = "终极耄耋",
  ["illustrator:xiaobai__zhangjian"] = "匠人绘",
  ["designer:xiaobai__zhangjian"] = "嘭！",
}

XBB.newGeneral(extension, "xiaobai__hufang", "jin", 3, 3, General.Female)
  :addSkills {"xiaobai__liewu","xiaobai__chongjuan"}

Fk:loadTranslationTable{
  ["xiaobai__hufang"] = "胡芳",
  ["#xiaobai__hufang"] = "真艳傲枝",
  ["illustrator:xiaobai__hufang"] = "Azzka",
  ["designer:xiaobai__hufang"] = "铝"
}

XBB.newGeneral(extension, "xiaobai__lvzhu", "jin", 3)
  :addSkills {"xiaobai__huzhen", "xiaobai__liufang"}

Fk:loadTranslationTable{
  ["xiaobai__lvzhu"] = "绿珠",
  ["#xiaobai__lvzhu"] = "金谷一丽",
  ["designer:xiaobai__lvzhu"] = "小叶子",
  ["illustrator:xiaobai__lvzhu"] = "白旭东",
}

XBB.newGeneral(extension, "xiaobai__shichong", "jin", 4)
  :addSkills{"xiaobai__xuanfu", "xiaobai__jingu"}
Fk:loadTranslationTable{
  ["xiaobai__shichong"] = "石崇",
  ["#xiaobai__shichong"] = "金谷一炬",
  ["illustrator:xiaobai__shichong"] = "耳朵是谁",
  ["designer:xiaobai__shichong"] = "我来天地正秋风",
}

return extension
